package com.woniuxy.his.mapper;

import com.woniuxy.his.entity.Department;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 科室表 Mapper 接口
 * </p>
 *
 * @author Lucas
 * @since 2021-08-24
 */
public interface DepartmentMapper extends BaseMapper<Department> {

    @Select("select * from his_department")
    List<Department> findAllDepartment();
}
